package com.wxg.util;

import org.beetl.core.GroupTemplate;
import org.beetl.ext.jfinal.BeetlRenderFactory;

import com.jfinal.render.Render;

public class MyBeetlUtil {
	
	private static BeetlRenderFactory beetlRenderFactory;
	
	static {
		beetlRenderFactory = new BeetlRenderFactory();
	}
	
	public static Render render(String view)
	{
		return beetlRenderFactory.getRender(view);
	}
	
	public static GroupTemplate gt(){
		return BeetlRenderFactory.groupTemplate;
	}
}
